﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraSplashScreen;

namespace OznerOA.UI
{
    public partial class FrmSplashScreen : SplashScreen
    {
        public FrmSplashScreen()
        {
            InitializeComponent();
            //显示随机图片
            Random ran = new Random();
            int index = ran.Next(6);
            Bitmap bitMap = OznerOA.UI.Properties.Resources.ResourceManager.GetObject("kt" + (index + 1)) as Bitmap;
            pictureEdit2.Image = bitMap;
        }

        #region Overrides

        public override void ProcessCommand(Enum cmd, object arg)
        {
            base.ProcessCommand(cmd, arg);
        }

        #endregion

        public enum SplashScreenCommand
        {
        }
    }
}